package com.ithuang.websocket.task;

import com.ithuang.websocket.dao.Mes;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class Te {
    @Autowired
    Mes mes;

    public List ww(){

        List list =mes.getMessage();
        System.out.print(list);
        System.out.println("aaaa");
        return list;
    }
}
